﻿@model WebDKMH.Models.thoigiandk
@{
    ViewBag.Title = "thoigian";
    Layout = "~/Views/Shared/admin.cshtml";
}

@*<div class="Content-midle-Top-Ten"><h4> ► Thời Gian Đăng Ký </h4></div>*@
<div class="Main-Content-1">
    <div class="Main-Content-1-Tieude">
        <img src="~/Images/icon_dangky.png" />
        <ul>
            <li>
                <h2>THỜI GIAN ĐĂNG KÝ</h2>
            </li>
        </ul>
    </div>


    <div class="Main-Content-1-Noidung" >
        <p></p>
@using (Html.BeginForm())
{
        <div class="thoigian1">
                 <div class="thoigian2">
               
                   
 
                     @if (Request.QueryString["type"] == "edit")
                     {
                            <span>Tên Khoa: </span>
                         @Html.TextBoxFor(m=>m.makhoa)
                     }
                     else
                     {
                         @*<input type="radio" name="1" />*@
                             <span>Tên Khoa: </span>
                         @Html.DropDownList("Projects1")   
                     }
                </div>
                
           
        </div>
        <p></p>
        <div class="thoigian3">
            <span>Từ ngày: </span><input type="date" id="txtDateTungay" name="txtDateTungay" value=@if (Request.QueryString["type"] == "edit")  {@Html.DisplayFor(m => m.ngaybatdau)}   />
                          
           
                
            <span>Đến ngày: </span><input type="date" id="txtDateDenngay" name="txtDateDenngay" value=" @if (Request.QueryString["type"] == "edit") { @Html.DisplayFor(m => m.ngayketthuc) } " />

           
                
        </div>
        <input style=" width: 80px; height: 30px; float: left;margin-left :200px;   margin-top: 20px;" id="OK" type="submit" value="OK" />
        }     
         <a href=@Url.Action("xemthoigian","admin") ><input style=" width: 80px; height: 30px; float: right; margin-right:200px;   margin-top: 20px;" type="submit" value="Cancel" /></a>
 
     </div>

</div>
